package com.ruyuan.payment.server.mapper;

import com.ruyuan.payment.server.domain.OrderSnapshot;
import com.ruyuan.payment.server.domain.OrderSnapshotExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderSnapshotMapper {
    long countByExample(OrderSnapshotExample example);

    int deleteByExample(OrderSnapshotExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderSnapshot record);

    int insertSelective(OrderSnapshot record);

    List<OrderSnapshot> selectByExample(OrderSnapshotExample example);

    OrderSnapshot selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderSnapshot record, @Param("example") OrderSnapshotExample example);

    int updateByExample(@Param("record") OrderSnapshot record, @Param("example") OrderSnapshotExample example);

    int updateByPrimaryKeySelective(OrderSnapshot record);

    int updateByPrimaryKey(OrderSnapshot record);
}